﻿<html><style type="text/css">
   .block1 { 
    background: #ededc4;
    padding: 5px;
    padding-right: 20px; 
    border: solid 1px black; 
   }
  </style> <body>
<?java 	
	String chapterId = rq.getValueByName("id");
	Chapter chapter = dao.getChapter(chapterId);
	return "<H2>" + chapter.getName()
		+ "</H2> " + "Текст главы:<div class = block1><pre>" + chapter.getText()
		+ "</pre></div>";
?java>
<hr>
<a href="/">Index</a>

</body><html>